﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020012D1 RID: 4817
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SyncChessRogueNousSubStoryScNotify : IMessage<SyncChessRogueNousSubStoryScNotify>, IMessage, IEquatable<SyncChessRogueNousSubStoryScNotify>, IDeepCloneable<SyncChessRogueNousSubStoryScNotify>, IBufferMessage
	{
		// Token: 0x17003CE5 RID: 15589
		// (get) Token: 0x0600D7D2 RID: 55250 RVA: 0x00243181 File Offset: 0x00241381
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SyncChessRogueNousSubStoryScNotify> Parser
		{
			get
			{
				return SyncChessRogueNousSubStoryScNotify._parser;
			}
		}

		// Token: 0x17003CE6 RID: 15590
		// (get) Token: 0x0600D7D3 RID: 55251 RVA: 0x00243188 File Offset: 0x00241388
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SyncChessRogueNousSubStoryScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003CE7 RID: 15591
		// (get) Token: 0x0600D7D4 RID: 55252 RVA: 0x0024319A File Offset: 0x0024139A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SyncChessRogueNousSubStoryScNotify.Descriptor;
			}
		}

		// Token: 0x0600D7D5 RID: 55253 RVA: 0x002431A1 File Offset: 0x002413A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncChessRogueNousSubStoryScNotify()
		{
		}

		// Token: 0x0600D7D6 RID: 55254 RVA: 0x002431A9 File Offset: 0x002413A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncChessRogueNousSubStoryScNotify(SyncChessRogueNousSubStoryScNotify other) : this()
		{
			this.chessRogueSubStoryId_ = other.chessRogueSubStoryId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D7D7 RID: 55255 RVA: 0x002431CE File Offset: 0x002413CE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncChessRogueNousSubStoryScNotify Clone()
		{
			return new SyncChessRogueNousSubStoryScNotify(this);
		}

		// Token: 0x17003CE8 RID: 15592
		// (get) Token: 0x0600D7D8 RID: 55256 RVA: 0x002431D6 File Offset: 0x002413D6
		// (set) Token: 0x0600D7D9 RID: 55257 RVA: 0x002431DE File Offset: 0x002413DE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ChessRogueSubStoryId
		{
			get
			{
				return this.chessRogueSubStoryId_;
			}
			set
			{
				this.chessRogueSubStoryId_ = value;
			}
		}

		// Token: 0x0600D7DA RID: 55258 RVA: 0x002431E7 File Offset: 0x002413E7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SyncChessRogueNousSubStoryScNotify);
		}

		// Token: 0x0600D7DB RID: 55259 RVA: 0x002431F5 File Offset: 0x002413F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SyncChessRogueNousSubStoryScNotify other)
		{
			return other != null && (other == this || (this.ChessRogueSubStoryId == other.ChessRogueSubStoryId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D7DC RID: 55260 RVA: 0x00243224 File Offset: 0x00241424
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ChessRogueSubStoryId != 0U)
			{
				num ^= this.ChessRogueSubStoryId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D7DD RID: 55261 RVA: 0x00243263 File Offset: 0x00241463
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D7DE RID: 55262 RVA: 0x0024326B File Offset: 0x0024146B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D7DF RID: 55263 RVA: 0x00243274 File Offset: 0x00241474
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ChessRogueSubStoryId != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.ChessRogueSubStoryId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D7E0 RID: 55264 RVA: 0x002432A8 File Offset: 0x002414A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ChessRogueSubStoryId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ChessRogueSubStoryId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D7E1 RID: 55265 RVA: 0x002432E6 File Offset: 0x002414E6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SyncChessRogueNousSubStoryScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ChessRogueSubStoryId != 0U)
			{
				this.ChessRogueSubStoryId = other.ChessRogueSubStoryId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D7E2 RID: 55266 RVA: 0x00243317 File Offset: 0x00241517
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D7E3 RID: 55267 RVA: 0x00243320 File Offset: 0x00241520
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.ChessRogueSubStoryId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005601 RID: 22017
		private static readonly MessageParser<SyncChessRogueNousSubStoryScNotify> _parser = new MessageParser<SyncChessRogueNousSubStoryScNotify>(() => new SyncChessRogueNousSubStoryScNotify());

		// Token: 0x04005602 RID: 22018
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005603 RID: 22019
		public const int ChessRogueSubStoryIdFieldNumber = 3;

		// Token: 0x04005604 RID: 22020
		private uint chessRogueSubStoryId_;
	}
}
